package testCase;
import MainClass.Customer;
import MainClass.Person;
import junit.framework.TestCase;

@SuppressWarnings("unused")

//Quang Ly changed..........................
//begin..............................
public class testCustomer extends TestCase {
	protected void setUp() throws Exception {
		super.setUp();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testCustomer() {
		Customer c = new Customer("David");
		assertNotNull(c);	
	}
	
	public void testgetDOB(){
		Customer c = new Customer("David");
		assertEquals("David", c.getDOB());
	}
	
	public void testgetEMAIL(){
		Customer c = new Customer("David");
		assertEquals("David", c.getEMAIL());
	}
	
	public void testgetID(){
		Customer c = new Customer("David");
		assertEquals("David", c.getID());
	}
	
	public void testgetNAME(){
		Customer c = new Customer("David");
		assertEquals("David", c.getNAME());
	}
	
	public void testgetStatus(){
		Customer c = new Customer("David");
		assertEquals("David", c.getStatus());
	}
	
	public void testupdateInfo() {
		Customer c = new Customer("David");
		assertEquals(0, c.updateInfo(c));
		
	}
//end.............................................
	
}
